﻿using YNTK.Common.Const;
using SqlSugar;
using System;

namespace YNTK.SubDev.Entitys
{
    /// <summary>
    /// 发票信息
    /// </summary>
    [SugarTable("zy_oa_bill")]
    [Tenant(ClaimConst.TENANT_ID)]
    public class ZyOaBillEntity
    {
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "Id", IsPrimaryKey = true)]
        public string Id { get; set; }
        
        /// <summary>
        /// 客户名称
        /// </summary>
        [SugarColumn(ColumnName = "CustomerId")]        
        public string CustomerId { get; set; }
        
        /// <summary>
        /// 纳税人识别号
        /// </summary>
        [SugarColumn(ColumnName = "CreditCode")]        
        public string CreditCode { get; set; }
        
        /// <summary>
        /// 注册地址
        /// </summary>
        [SugarColumn(ColumnName = "Address")]        
        public string Address { get; set; }
        
        /// <summary>
        /// 联系电话
        /// </summary>
        [SugarColumn(ColumnName = "Mobile")]        
        public string Mobile { get; set; }
        
        /// <summary>
        /// 开户行
        /// </summary>
        [SugarColumn(ColumnName = "Bank")]        
        public string Bank { get; set; }
        
        /// <summary>
        /// 银行账号
        /// </summary>
        [SugarColumn(ColumnName = "Account")]        
        public string Account { get; set; }
        
        /// <summary>
        /// 发票信息
        /// </summary>
        [SugarColumn(ColumnName = "Remark")]        
        public string Remark { get; set; }
        
        /// <summary>
        /// 是否删除
        /// </summary>
        [SugarColumn(ColumnName = "IsDel")]        
        public bool IsDel { get; set; }
        
        /// <summary>
        /// 创建人
        /// </summary>
        [SugarColumn(ColumnName = "Creater")]        
        public string Creater { get; set; }
        
        /// <summary>
        /// 创建时间
        /// </summary>
        [SugarColumn(ColumnName = "CreateTime")]        
        public DateTime? CreateTime { get; set; }
        
        /// <summary>
        /// 最后修改人
        /// </summary>
        [SugarColumn(ColumnName = "Modifyer")]        
        public string Modifyer { get; set; }
        
        /// <summary>
        /// 修改时间
        /// </summary>
        [SugarColumn(ColumnName = "ModifyTime")]        
        public DateTime? ModifyTime { get; set; }
        
        /// <summary>
        /// 预留1
        /// </summary>
        [SugarColumn(ColumnName = "Spare1")]        
        public string Spare1 { get; set; }
        
        /// <summary>
        /// 预留2
        /// </summary>
        [SugarColumn(ColumnName = "Spare2")]        
        public string Spare2 { get; set; }
        
        /// <summary>
        /// 
        /// </summary>
        [SugarColumn(ColumnName = "F_EnabledMark")]        
        public int? EnabledMark { get; set; }
        
    }
}
